﻿<%@ Page Title="Orçamento" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Orcamento.aspx.cs" Inherits="WeberMadeiras.Orcamento" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajax" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">    
    <asp:UpdatePanel ID="up1" runat="server" ChildrenAsTriggers="True" UpdateMode="Always">
        <ContentTemplate>
            <h1><%:Title %>   </h1>   
            <br />
            <ajax:BalloonPopupExtender ID="PopupControlExtender2" runat="server"
        TargetControlID="txtNome"
        BalloonPopupControlID="p1"
        Position="BottomRight" 
        BalloonStyle="Cloud"
        BalloonSize="Small"        
        CustomClassName="oval"
        UseShadow="true" 
        ScrollBars="Auto"
        DisplayOnMouseOver="true"
        DisplayOnFocus="false"
        DisplayOnClick="true" />

            <asp:Panel ID="p1" runat="server">
                aaaaaaaa
            </asp:Panel>


            <asp:Panel ID="Panel1" runat="server" GroupingText="Dados para Contato" BorderColor="White" >                
                <table class="inscricao" border="0" align="center" width="94%">

                    <tr>

                        <td class="auto-style2">Nome Completo: </td>
                        <td align="left" class="auto-style3">
                            <asp:TextBox ID="txtNome" runat="server" Width="300px"></asp:TextBox>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator Display="Dynamic" ID="rfvNome" runat="server" ControlToValidate="txtNome" ErrorMessage="Campo Obrigatório*" ValidationGroup="v1" ForeColor="Red"></asp:RequiredFieldValidator></td>
                    </tr>

                    <tr>

                        <td class="auto-style2">E-mail: </td>
                        <td align="left" class="auto-style3">
                            <asp:TextBox ID="txtEmail" runat="server" Width="300px"></asp:TextBox>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvEmail" runat="server" ControlToValidate="txtEmail" ErrorMessage="Campo Obrigatório*" ValidationGroup="v1" ForeColor="Red"></asp:RequiredFieldValidator></td>
                    </tr>

                </table>
            </asp:Panel>
            <br />
            <asp:Panel ID="Panel2" runat="server" GroupingText="Dados do Produto">

               <table class="inscricao" border="0" align="center" width="94%">

                    <tr>

                        <td class="auto-style2">Produto: </td>
                        <td align="left" class="auto-style3">
                            <asp:DropDownList ID="ddlProduto" runat="server">
                                <asp:ListItem>Mourão 2 m 12 a 10 </asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator Display="Dynamic" ID="RequiredFieldValidator1" runat="server" ControlToValidate="ddlProduto" ErrorMessage="Campo Obrigatório*" ValidationGroup="v1" ForeColor="Red"></asp:RequiredFieldValidator></td>
                    </tr>

                    <tr>

                        <td class="auto-style2">Quantidade: 
                        </td>
                        <td align="left">
                            <asp:TextBox ID="txtQuantidade" runat="server"  ></asp:TextBox>
                            <ajax:FilteredTextBoxExtender ID="FilteredTextBoxExtender1" TargetControlID="txtQuantidade" runat="server" FilterType="Numbers" ></ajax:FilteredTextBoxExtender>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtQuantidade" ErrorMessage="Campo Obrigatório*" ValidationGroup="v1" ForeColor="Red"></asp:RequiredFieldValidator>

                        </td>
                    </tr>

                </table>

            </asp:Panel>

              <br />
            <asp:Panel ID="Panel3" runat="server" GroupingText="Informações para o Cálculo do Frete">

               <table class="inscricao" border="0" align="center" width="94%">

                    <tr>

                        <td class="auto-style2">Estado: </td>
                        <td align="left" class="auto-style3">
                            <asp:DropDownList ID="ddlEstado" runat="server">
                                <asp:ListItem>ES</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator Display="Dynamic" ID="RequiredFieldValidator3" runat="server" ControlToValidate="ddlProduto" ErrorMessage="Campo Obrigatório*" ValidationGroup="v1" ForeColor="Red"></asp:RequiredFieldValidator></td>
                    </tr>

                    <tr>

                        <td class="auto-style2">Cidade: 
                        </td>
                        <td align="left">
                            <asp:TextBox ID="txtCidade" runat="server"></asp:TextBox>                            
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtCidade" ErrorMessage="Campo Obrigatório*" ValidationGroup="v1" ForeColor="Red"></asp:RequiredFieldValidator>

                        </td>
                    </tr>

                   <tr>

                        <td class="auto-style2">CEP: 
                        </td>
                        <td align="left">
                            <asp:TextBox ID="txtCep" runat="server"></asp:TextBox>                            
                            (Opicional)
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtCidade" ErrorMessage="Campo Obrigatório*" ValidationGroup="v1" ForeColor="Red" ></asp:RequiredFieldValidator>

                        </td>
                    </tr>

                </table>

            </asp:Panel>



               <table class="inscricao" border="0" align="center" width="94%">

                    <tr>

                        <td class="auto-style2">Observação: </td>
                        <td align="left" class="auto-style3">
                            <asp:TextBox ID="txtObs" runat="server" TextMode="MultiLine" Rows="4" Width="373px"></asp:TextBox>
                        </td>
                        <td>

                            </td>
                    </tr>

                  

                </table>

            
            <div class="float-right">

                        <asp:Button ID="btnEnviar" runat="server" Text="Enviar" ValidationGroup="v1" />
            </div>
             
            
        </ContentTemplate>


    </asp:UpdatePanel>
</asp:Content>
